<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../../js/echarts.min.js"></script>
</head>
<body>
    <div style="width: 600px;height: 400px" id="pie"></div>
</body>
    <script>
        var mychart =  echarts.init(document.getElementById("pie"))

        option={
            title: {
                text: '饼图'
            },
            legend: {},
            tooltip: {},
            series: [{
                radius:[10,100],
                name:'成绩',
                type: "pie",
                roseType:'radius',
                data:[
                    {value:110,name:'语文'},
                    {value:105,name:'数学'},
                    {value:10,name:'英语'},
                ]
            }]
        }

        mychart.setOption(option)

    </script>
</html>